package com.pan.api.format;

import java.util.function.BiFunction;
import java.util.function.Function;

/**
 * previous ControllerInformation string
 * current ControllerInformation string
 *
 * to
 */
public interface PanTotalFormat extends BiFunction<String,String,String> {
    public default String append(String pre, String cur){
        return pre +"\n"+ cur;
    }

    @Override
    default String apply(String s, String s2){
        return append(s,s2);
    }
}
